const ejs = require("ejs");
const fs = require("fs");

const str = fs.readFileSync(__dirname + "/index.html").toString();
const china = "中国";
const weather = "今天天气真不错~~";

let result = ejs.render(str, { china, weather });

console.log(result);
